package ken.app.bean;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;

import com.she.olympic.TreeActivity;

import ken.app.even.SeverTimeEvent;

public class SportBabyListBean implements Cloneable {
	// /* News的四個變數 */

	private int baby_id = -1;
	private String baby_name = "";
	private int baby_score = -1;
	private int baby_percent = -1;
	private int baby_sec = -1;
	private String pic1 = "";
	private String pic2 = "";
	private String pic3 = "";
	private String baby1 = "";
	private String baby2 = "";
	private String camera1 = "";
	private String camera2 = "";
	private String camera3 = "";
	private String camera4 = "";
	private String camera5 = "";
	private String camera6 = "";
	private String camera7 = "";
	private String camera8 = "";
	private String camera9 = "";
	private String camera10 = "";
	private String camera_bg = "";
	private long lastmodify;
	private String showImg = "";
	private int baby_num = 0;
	private ArrayList<String> cameras = new ArrayList<String>();

	public SportBabyListBean(int babyid, String babyname, int babyscore, int babypercent, int sec, String pic1, String pic2, String pic3,
			String baby1, String baby2, String camera1, String camera2, String camera3, String camera4, String camera5, String camera6,
			String camera7, String camera8, String camera9, String camera10, String camerabg, long lastmodify) {
		baby_id = babyid;
		baby_name = babyname;
		baby_score = babyscore;
		baby_percent = babypercent;
		baby_sec = sec;
		this.pic1 = pic1;
		this.pic2 = pic2;
		this.pic3 = pic3;
		this.baby1 = baby1;
		this.baby2 = baby2;
		this.camera1 = camera1;
		this.camera2 = camera2;
		this.camera3 = camera3;
		this.camera4 = camera4;
		this.camera5 = camera5;
		this.camera6 = camera6;
		this.camera7 = camera7;
		this.camera8 = camera8;
		this.camera9 = camera9;
		this.camera10 = camera10;
		this.camera_bg = camerabg;
		this.lastmodify = lastmodify;
	}

	public SportBabyListBean() {

	}

	public ArrayList<String> getCameras() {
		return cameras;
	}

	public void addCamerasToList(String url) {
		cameras.add(url);
	}

	public void setBabyId(int babyid) {
		baby_id = babyid;
	}

	public int getBabyId() {
		return baby_id;
	}

	public void setBabyName(String babyname) {
		baby_name = babyname;
	}

	public String getBabyName() {
		return baby_name;
	}

	public void setBabyScore(int babyscore) {
		baby_score = babyscore;
	}

	public int getBabyScore() {
		return baby_score;
	}

	public void setBabySec(int babysec) {
		baby_sec = babysec;
	}

	public int getBabySec() {
		return baby_sec;
	}

	public void setBabyPercent(int babypercent) {
		baby_percent = babypercent;
	}

	public int getBabyPercent() {
		return baby_percent;
	}

	public void setLastmodify(long lastmodify) {
		this.lastmodify = lastmodify;
	}

	public long getLastmodify() {
		return this.lastmodify;
	}

	public void setPic1(String pic1) {
		this.pic1 = pic1;
	}

	public String getPic1() {
		return this.pic1;
	}

	public void setPic2(String pic2) {
		this.pic2 = pic2;
		String temp = pic2.replaceAll(TreeActivity.SEVER_API + "/pic/baby/", "");
		temp = temp.replaceAll("-", "_");
		temp = temp.replaceAll(".png", "");
		setShowImg(temp);
		temp = null;
	}

	public String getPic2() {
		return this.pic2;
	}

	public void setPic3(String pic3) {
		this.pic3 = pic3;
	}

	public String getPic3() {
		return this.pic3;
	}

	public void setBaby1(String baby1) {
		this.baby1 = baby1;
	}

	public String getBaby1() {
		return this.baby1;
	}

	public void setBaby2(String baby2) {
		this.baby2 = baby2;
		String temp = pic2.replaceAll(TreeActivity.SEVER_API + "/pic/baby/", "");
		temp = temp.replaceAll("-", "_");
		temp = temp.replaceAll(".png", "");
		setShowImg(temp);
		temp = null;
	}

	public String getBaby2() {
		return this.baby2;
	}

	public void setShowImg(String showImg) {
		this.showImg = showImg;
	}

	public String getShowImg() {
		return this.showImg;
	}

	public void setBabyNum(int babynum) {
		baby_num = babynum;
	}

	public int getBabyNum() {
		return baby_num;
	}

	public void setCamera1(String camera1) {
		this.camera1 = camera1;
	}

	public String getCamera1() {
		return this.camera1;
	}

	public void setCamera2(String camera2) {
		this.camera2 = camera2;
	}

	public String getCamera2() {
		return this.camera2;
	}

	public void setCamera3(String camera3) {
		this.camera3 = camera3;
	}

	public String getCamera3() {
		return this.camera3;

	}

	public void setCamera4(String camera4) {
		this.camera4 = camera4;
	}

	public String getCamera4() {
		return this.camera4;
	}

	public void setCamera5(String camera5) {
		this.camera5 = camera5;
	}

	public String getCamera5() {
		return this.camera5;
	}

	public void setCamera6(String camera6) {
		this.camera6 = camera6;
	}

	public String getCamera6() {
		return this.camera6;
	}

	public void setCamera7(String camera7) {
		this.camera7 = camera7;
	}

	public String getCamera7() {
		return this.camera7;
	}

	public void setCamera8(String camera8) {
		this.camera8 = camera8;
	}

	public String getCamera8() {
		return this.camera8;
	}

	public void setCamera9(String camera9) {
		this.camera9 = camera9;
	}

	public String getCamera9() {
		return this.camera9;
	}

	public void setCamera10(String camera10) {
		this.camera10 = camera10;
	}

	public String getCamera10() {
		return this.camera10;
	}

	public void setCameraBG(String camerabg) {
		this.camera_bg = camerabg;
	}

	public String getCameraBG() {
		return this.camera_bg;
	}

	@Override
	public Object clone() throws CloneNotSupportedException {
		// TODO Auto-generated method stub
		return super.clone();
	}
}